//This trigger is to call the Webservice for insert and update into Account Relationship
trigger HF_RelationshipSync on Relationship__c (after Insert, after Update) {
Set<Id> RelId = new Set<ID>();

    for(Relationship__c r:Trigger.new){
        RelId.add(r.Id);
    }
    system.debug('**********'+RelId );
    If(RelId!= null && RelId.size()>0){}
    if(trigger.isInsert){
       HF_ClientWSAccountRel.AddRelationship(RelId);
               }
               if(trigger.isUpdate){
                HF_ClientWSAccountRel.UpdateRelationship(RelId);
               }
               }